@charset "utf-8";
/**
 * Name       ：cos-album.css
 * Version    : 1.1.6
 * Description: Cosalbum 基於騰訊云COS桶的“動態”相冊樣式表
 * Updated on : 2021/2/11 15:36
 * Author     : Lruihao http://lruihao.cn
 */

.photoBox{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  background: #121212;
  border-bottom: 1px solid #fff;
  margin-bottom: 30px;
  padding-bottom: 30px;
}
.cover{
  width: 100%;
  height: 700px;
  display: flex;
  vertical-align: middle;
  background-position: left bottom !important;
  background-size: cover !important;
}
.photo{
  width: 350px;
  height: 350px;
  margin-top: 15px;
}
.photo>img,
.photo>video{
  width: 100%;
  height: 262.5px;
  margin-bottom: 15px;
  border: 0.5px solid white;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  background-color: #a4bdb6;
}
.photo img:hover,
.photo>video:hover{
  transform: scale(1.05);
  transition: all 1s;
}
.photo>span{
  display: block;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 24.7px;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}
.photo>span:last-child{
  font-weight: 500;
  font-size: 0.8rem;
  font-style: italic;
  color: #999;
}
.photo>span:last-child::before{
  content: '\4e0a\50b3\65bc';
  margin-right: 0.25rem;
}
.title{
  width: auto;
  height: auto;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  background: rgba(0,0,0,0.5);
  text-align: center;
  font-size: 4.5rem;
  font-weight: bold;
  vertical-align: middle;
  color: #fff;
}
.title:hover{
  transform: scale(1.05);
  transition: all 0.5s;
}
.more{
  width: 100%;
}
.btn-more{
  display: block;
  width: 300px;
  padding: 15px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
  border: 0;
  font-size: 3rem;
  font-weight: bold;
  margin: auto;
}
.btn-more:hover{
  background: rgba(255,255,255,0.15);
}
.btn-more:active{
  background: rgba(255,255,255,0.05);
  transform: scale(0.99);
  transition: all 0.15s;
}
.copy-node{
  position: fixed;
  left: -330px;
  bottom: 0;
  width: 300px;
  margin: 0 1rem 1rem;
  font-size: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 3px 3px 4px;
  outline: none;
}
.show{
  animation: show 3s linear;
}
@keyframes show {
  0%{
    left: -330px;
  }  
  50% {
    left: 0;
  }
  100% {
    left: -330px;
  }
}
.capower{
  text-align: right;
  color: #999;
  font-size: .75em;
  padding: .5em;
  top: -30px;
  position: relative;
}
.capower a{
  color: #1b6ca8;
  text-decoration: none;
}
.capower a:hover{
  color: #d7191a;
}

/**
 * common
 */
body{
  margin: 0;
  padding: 0;
  background: #121212;
}
.album-comments{
  width: 60%;

  margin: auto;
}
footer{
  color: #999;
  text-align: center;
  margin: 20px;
}
footer>a{
  color: #555;
  text-decoration: none;
}


/**
 * mobile
 */
@media screen and (max-width: 768px){
  .album-comments{
    width: 90%;
    margin: auto;
  }
  .cover{
    height: 250px;
  }
  .title{
    padding: 15px;
    font-size: 2rem;
  }
  .btn-more{
    width: 130px;
    padding: 10px;
    font-size: 1.5rem;
  }
}
